// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import ElementUI from 'element-ui'
import '../theme/index.css'
import App from './App'
import router from './router'
import '../static/css/reset.css'
import Vuex from 'vuex';
import store from '@/store/index';
import VueResource from 'vue-resource'
import '../static/commJs/Extends'
import axios from 'axios'
Vue.prototype.$axios = axios;

/*使用VueResource插件*/
Vue.use(VueResource)

Vue.use(Vuex)

Vue.use(ElementUI);
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
